#ifndef __DEVICE_H
#define __DEVICE_H

#include <math.h>
#include "my_define.h"

typedef enum // PIR灵敏度
{
    PIR_SENSITIVITY_HIGH,
    PIR_SENSITIVITY_LOW,
    PIR_SENSITIVITY_OFF,
} pir_sensitivity_e;

typedef uint16 TIMEOUT_LEVEL; // TIME
#define TIMEOUT_LEVEL_30MIN 1800
#define TIMEOUT_LEVEL_15MIN 900
#define TIMEOUT_LEVEL_5MIN 300
#define TIMEOUT_LEVEL_30S 30

typedef enum // 光感设置
{
    BRIGHTNESS_DEFAULT,         // 默认亮度 （默认设置）  应该改为默认亮度
    BRIGHTNESS_CUSTOM,          // 客户定制亮度
    BRIGHTNESS_SENSOR_DISABLED, // 亮度感应无效
    BRIGHTNESS_VAC_MODE,        // VAC模式
} brightness_sensor_mode_e;

#endif
